<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested"%>
<html:html>
<head>
<html:base />
<title><bean:message key="Application.Name" /></title>
<link href="css/formas.css" rel="stylesheet" type="text/css">
<link href="css/calendar.css" rel="stylesheet" type="text/css">
<style>
      .vertical{
          writing-mode:tb-rl;
          filter:flipH flipV;
      }
</style>
<logic:present name="req_msg">
	<script>
		alert("<bean:write name='req_msg'/>");
	</script>
</logic:present>
<script LANGUAGE="JavaScript" type="text/javascript" src="js/AnchorPosition.js"></script>
<script LANGUAGE="JavaScript" type="text/javascript" src="js/PopupWindow.js"></script>
<script LANGUAGE="JavaScript" type="text/javascript" src="js/date.js"></script>
<script LANGUAGE="JavaScript" type="text/javascript" src="js/CalendarPopup.js"></script>
<script language="javascript" type="text/javascript" src="js/util.js"></script>
<script language="javascript" type="text/javascript">
var cal_fechas;
cal_fechas = new CalendarPopup('div_cal');
</script>
<style type="text/css">
#div_cal {
background-color:#FF9933;
	position:absolute;
}
</style>
</head>
<body>
<div id="div_cal"></div>
<table cellpadding="0" cellspacing="0" class="formas">
	<tr>
		<td>
		<table cellpadding="0" cellspacing="0" class="barraNavegacion">
			<tr>
				<td>
					<html:link action="/academy_welcome?action=selectAcademy" 	styleClass="barraNavegacion"> <img src="images/icn_liga.gif" border="0">	<bean:message key="AcademyWelcome.Init" /></html:link> 
					<html:link action="/teachers_crn_list" styleClass="barraNavegacion"><img src="images/icn_liga.gif" border="0"><bean:message key="CRN.list" />	</html:link> 
			   </td>
			</tr>
		</table>
		<table cellpadding="0" cellspacing="0" class="titulo">
			<tr>
				<td class="iconos_imgs"><a
					href="mailto:<bean:message key="Application.mailto"/>"><img
					src="images/icn_correo.gif" width="18" height="18" border="0"></a></td>
				<td class="txt_titulo"><bean:message key="Grade" /></td>
			</tr>
		</table>
		<table cellpadding="0" cellspacing="2" class="info_formas">
			<tr>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td class="formas-encabezado"><bean:message
					key="StudyPlan.subject.subjectData" /></td>
			</tr>
			<tr>
				<td>
				<table cellpadding="0" cellspacing="2" class="info_titulo">
					<tr> 
						<td class=""><strong><bean:message key="StudyPlan.subject"/></strong></td>
						<td class=""><bean:write name="crn_bean" property="materia_tk"/> - <bean:write name="crn_bean" property="materia_desc"/></td>
					</tr>
					<tr> 
						<td class=""><strong><bean:message key="TeacherList.Teacher"/></strong></td>
						<td class=""><bean:write name="crn_bean" property="maestro_tk" /> - <bean:write name="crn_bean" property="maestro_nombre"  /></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		<table width="100%" cellpadding="0" cellspacing="2" class="info_formas">
					<tr>
						<td>&nbsp;</td>
					</tr>
					<tr> 
		                  <td class="formas-encabezado vertical"><bean:message key="Menu.Student"/></td>
		                  <logic:iterate id="calificaciones" name="lst_grades" indexId="int_i" scope="request">
		                  		<td class="formas-encabezado vertical"><bean:write name="calificaciones" property="str_criterio"/></td>
		                  </logic:iterate>
		                  <td class="formas-encabezado vertical"><bean:message key="DraftList.Actions"/></td>                 
               		 </tr>
					 <logic:iterate id="alumnos" name="req_studentsCrns" indexId="int_i" scope="request">
					 		<bean:define id="califica" name="alumnos" property="scored"/>
					 		<tr class="info_formas"> 
								<td width="250" class="formas-backcolor<%= (int_i.intValue()%2==0?"1":"2") %>"><bean:write name="alumnos" property="code"/> - <bean:write name="alumnos" property="name"/></td>
								<logic:iterate id="scr" name="califica">
			                  		<td align="right" class="formas-backcolor<%= (int_i.intValue()%2==0?"1":"2") %>"><bean:write name="scr" format="###.00"/></td>
			                    </logic:iterate>
								<td align="center" class="formas-backcolor<%= (int_i.intValue()%2==0?"1":"2") %>"><html:link action="/student_grades_edit" name="alumnos" property="map_id"><html:img page="/images/icn_editar.gif" border="0" width="24" height="24"/></html:link></td>
							</tr>
					 </logic:iterate>
		</table>
		</td>
	</tr>
</table>
</body>
</html:html>
